package com.xkcyy.one.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 训练会话实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("training_session")
public class TrainingSession extends BasicEntity {
    
    /**
     * 关联训练ID
     */
    private Long trainingId;
    
    /**
     * 迭代序号
     */
    private Integer iteration;
    
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    
    /**
     * 结束时间
     */
    private LocalDateTime endTime;
    
    /**
     * 当前会话使用的提示词
     */
    private String prompt;
    
    /**
     * 准确度指标
     */
    private Float accuracy;
    
    /**
     * 响应时间指标
     */
    private Float responseTime;
    
    /**
     * 提示词效率指标
     */
    private Float promptEfficiency;
    
    /**
     * 状态(PENDING/RUNNING/COMPLETED/FAILED)
     */
    private String status;
} 